package com.qf.android.sport.entity.headline;

import com.google.gson.annotations.Expose;
import com.qf.android.sport.adapter.headline.HeadlineHeadlineRecyclerAdapter;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;

/**
 * Created by wen10 on 2016/12/16.
 */

public class Head {


    /**
     * code : 200
     * data : {"heads":[{"id":4716,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"5bd/1481847286389_ejaf71.jpg","text":"著名NBA场边记者克雷格-赛格离世 ","subtitle":"","type":4,"link":"4347","sort":0,"create_time":"Fri Dec 16 08:15:08 +0800 2016","editor":"梁众","public_time":"Fri Dec 16 08:15:06 +0800 2016","video_flag":false,"contest_flag":false},{"id":4715,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"6b2/1481812664422_tvet1x.jpg","text":"十佳劳伦斯：吴敏霞马龙分获最佳男女运动员","subtitle":"","type":4,"link":"4346","sort":0,"create_time":"Thu Dec 15 22:38:36 +0800 2016","editor":"饶志远","public_time":"Thu Dec 15 22:38:31 +0800 2016","video_flag":false,"contest_flag":false},{"id":4714,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"e11/1481800719781_ah6nys.jpg","text":"C罗本泽马破门 皇马2-0完胜进军决赛","subtitle":"世俱杯","type":4,"link":"4345","sort":0,"create_time":"Thu Dec 15 18:15:04 +0800 2016","editor":"饶志远","public_time":"Thu Dec 15 18:14:51 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":232272,"topic_id":4345,"create_time":"Thu Dec 15 18:11:50 +0800 2016","editor":"饶志远","contest":{"contest_id":232272,"target_id":10723766,"cup_id":357,"cup_name":"世俱杯","color":"#1E0F00","contest_type":0,"home_team":231,"home_scores":0,"away_team":839,"away_scores":2,"start_time":"Thu Dec 15 18:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":4,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":231,"name":"墨西哥美洲","logo":"1939.png"},"a_t":{"t_id":839,"name":"皇家马德里","logo":"2829.png"},"settle_statu":0,"ext_flag":1,"room_id":5806,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4713,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"d7d/1481771893717_npqaih.jpg","text":"哈登三双追平大梦 火箭大胜国王取8连胜","subtitle":"NBA","type":4,"link":"4344","sort":0,"create_time":"Thu Dec 15 11:18:45 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 11:18:36 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19350,"topic_id":4344,"create_time":"Thu Dec 15 10:20:36 +0800 2016","editor":"梁众","contest":{"contest_id":19350,"target_id":9954985,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":177,"home_scores":132,"away_team":161,"away_scores":98,"start_time":"Thu Dec 15 09:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"a_t":{"t_id":161,"name":"国王","logo":"3413.png"},"settle_statu":0,"ext_flag":0,"room_id":5800,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4712,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"cf3/1481770586090_50dvnu.jpg","text":"太子爷爆发戈登新高 快船擒魔术3连胜","subtitle":"NBA","type":4,"link":"4343","sort":0,"create_time":"Thu Dec 15 10:56:33 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 10:55:56 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19280,"topic_id":4343,"create_time":"Thu Dec 15 10:17:49 +0800 2016","editor":"梁众","contest":{"contest_id":19280,"target_id":9954393,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":173,"home_scores":108,"away_team":180,"away_scores":113,"start_time":"Thu Dec 15 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":173,"name":"魔术","logo":"3437.png"},"a_t":{"t_id":180,"name":"快船","logo":"3425.png"},"settle_statu":0,"ext_flag":0,"room_id":5808,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4711,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"d0c/1481761007143_px5i18.jpg","text":"萨巴莱塔破门席尔瓦建功 曼城2-0沃特福德","subtitle":"英超","type":4,"link":"4342 ","sort":0,"create_time":"Thu Dec 15 08:17:12 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 08:17:10 +0800 2016","video_flag":true,"contest_flag":true},{"id":4710,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"f48/1481760987801_64v5h5.jpg","text":"伊布绝杀博格巴传射 曼联2-1水晶宫 ","subtitle":"英超","type":4,"link":"4341","sort":0,"create_time":"Thu Dec 15 08:16:37 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 08:16:32 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":169670,"topic_id":4341,"create_time":"Thu Dec 15 08:06:01 +0800 2016","editor":"梁众","contest":{"contest_id":169670,"target_id":9600049,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":513,"home_scores":1,"away_team":500,"away_scores":2,"start_time":"Thu Dec 15 04:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":513,"name":"水晶宫","logo":"7.png"},"a_t":{"t_id":500,"name":"曼联","logo":"35.png"},"settle_statu":0,"ext_flag":1,"room_id":5782,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4709,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"a9f/1481721466890_29bxie.jpg","text":"阿联21+11 广东轻取同曦豪取12连胜","subtitle":"CBA","type":4,"link":"4340","sort":0,"create_time":"Wed Dec 14 21:17:59 +0800 2016","editor":"饶志远","public_time":"Wed Dec 14 21:17:55 +0800 2016","video_flag":false,"contest_flag":true,"contest_content":{"contest_id":31322,"topic_id":4340,"create_time":"Wed Dec 14 21:17:30 +0800 2016","editor":"饶志远","contest":{"contest_id":31322,"target_id":10483210,"cup_id":1566,"cup_name":"CBA","color":"#234711","contest_type":1,"home_team":3003,"home_scores":97,"away_team":601,"away_scores":116,"start_time":"Wed Dec 14 19:35:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":true,"h_t":{"t_id":3003,"name":"江苏同曦","logo":"181740.png"},"a_t":{"t_id":601,"name":"广东宏远","logo":"130098.png"},"settle_statu":0,"ext_flag":0,"room_id":5774,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4708,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"ad6/1481721535200_ddtafn.jpg","text":"老马21分丢救命球 北京主场憾负上海","subtitle":"CBA","type":4,"link":"4339","sort":0,"create_time":"Wed Dec 14 19:35:44 +0800 2016","editor":"饶志远","public_time":"Wed Dec 14 19:35:39 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":31022,"topic_id":4339,"create_time":"Wed Dec 14 21:19:47 +0800 2016","editor":"饶志远","contest":{"contest_id":31022,"target_id":10482514,"cup_id":1566,"cup_name":"CBA","color":"#234711","contest_type":1,"home_team":3007,"home_scores":94,"away_team":3006,"away_scores":99,"start_time":"Wed Dec 14 19:35:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":true,"h_t":{"t_id":3007,"name":"北京金隅","logo":"130124.png"},"a_t":{"t_id":3006,"name":"上海哔哩哔哩","logo":"130122.png"},"settle_statu":0,"ext_flag":0,"room_id":5786,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4707,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"61a/1481686999075_4bci51.jpg","text":"格林三双 库里30分 勇士险胜鹈鹕","subtitle":"NBA","type":4,"link":"4338","sort":0,"create_time":"Wed Dec 14 11:43:45 +0800 2016","editor":"梁众","public_time":"Wed Dec 14 11:43:42 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19466,"topic_id":4338,"create_time":"Wed Dec 14 09:47:02 +0800 2016","editor":"梁众","contest":{"contest_id":19466,"target_id":9955999,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":140,"home_scores":109,"away_team":181,"away_scores":113,"start_time":"Wed Dec 14 09:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":140,"name":"鹈鹕","logo":"5539.png"},"a_t":{"t_id":181,"name":"勇士","logo":"3428.png"},"settle_statu":0,"ext_flag":0,"room_id":5790,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4706,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"326/1481682691463_k1amek.jpg","text":"詹皇23+8 骑士轻取灰熊豪取5连胜","subtitle":"NBA","type":4,"link":"4337","sort":0,"create_time":"Wed Dec 14 10:31:39 +0800 2016","editor":"梁众","public_time":"Wed Dec 14 10:30:59 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19298,"topic_id":4337,"create_time":"Wed Dec 14 09:45:15 +0800 2016","editor":"梁众","contest":{"contest_id":19298,"target_id":9954545,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":158,"home_scores":103,"away_team":184,"away_scores":86,"start_time":"Wed Dec 14 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":158,"name":"骑士","logo":"3432.png"},"a_t":{"t_id":184,"name":"灰熊","logo":"3415.png"},"settle_statu":0,"ext_flag":0,"room_id":5791,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4705,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"14a/1481675139764_9s2ipb.jpg","text":"厄齐尔低迷 阿森纳1-2遭逆转 ","subtitle":"英超","type":4,"link":"4336","sort":0,"create_time":"Wed Dec 14 08:26:15 +0800 2016","editor":"梁众","public_time":"Wed Dec 14 08:26:14 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":169665,"topic_id":4336,"create_time":"Wed Dec 14 08:10:10 +0800 2016","editor":"梁众","contest":{"contest_id":169665,"target_id":9600053,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":503,"home_scores":2,"away_team":506,"away_scores":1,"start_time":"Wed Dec 14 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":503,"name":"埃弗顿","logo":"48.png"},"a_t":{"t_id":506,"name":"阿森纳","logo":"42.png"},"settle_statu":0,"ext_flag":1,"room_id":5761,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4703,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"cf1/1481609874105_yer5y7.jpg","text":"亚冠小组赛抽签：恒大遇水原 苏宁碰全北","subtitle":"亚冠","type":4,"link":"4334","sort":0,"create_time":"Tue Dec 13 14:18:01 +0800 2016","editor":"饶志远","public_time":"Tue Dec 13 16:00:57 +0800 2016","video_flag":false,"contest_flag":false},{"id":4704,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"42b/1481611258520_zv77mv.jpg","text":"快船横扫开拓者 保罗21+14","subtitle":"NBA","type":4,"link":"4335","sort":0,"create_time":"Tue Dec 13 14:35:14 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 14:35:12 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19474,"topic_id":4335,"create_time":"Tue Dec 13 14:28:39 +0800 2016","editor":"梁众","contest":{"contest_id":19474,"target_id":9956131,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":180,"home_scores":121,"away_team":179,"away_scores":120,"start_time":"Tue Dec 13 11:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":180,"name":"快船","logo":"3425.png"},"a_t":{"t_id":179,"name":"开拓者","logo":"3414.png"},"settle_statu":0,"ext_flag":0,"room_id":5772,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4702,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"fef/1481600704101_ynmrib.png","text":"哈登准三双 书豪10+7 火箭险胜篮网","subtitle":"NBA","type":4,"link":"4333","sort":0,"create_time":"Tue Dec 13 11:45:09 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 11:45:07 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19343,"topic_id":4333,"create_time":"Tue Dec 13 09:47:32 +0800 2016","editor":"梁众","contest":{"contest_id":19343,"target_id":9954987,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":177,"home_scores":122,"away_team":175,"away_scores":118,"start_time":"Tue Dec 13 09:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":3,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"a_t":{"t_id":175,"name":"篮网","logo":"3436.png"},"settle_statu":0,"ext_flag":0,"room_id":5766,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4701,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"3a3/1481588650460_jkt2n0.jpg","text":"C罗力压梅西荣膺2016年金球奖","subtitle":"金球奖","type":4,"link":"4329","sort":0,"create_time":"Tue Dec 13 08:24:48 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 08:24:46 +0800 2016","video_flag":true,"contest_flag":true},{"id":4700,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"34d/1481588621246_pq01ma.jpg","text":"尼昂失点纳因格兰破门 罗马1-0米兰 ","subtitle":"意甲","type":4,"link":"4332","sort":0,"create_time":"Tue Dec 13 08:23:56 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 08:23:54 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":193724,"topic_id":4332,"create_time":"Tue Dec 13 08:20:03 +0800 2016","editor":"梁众","contest":{"contest_id":193724,"target_id":9821229,"cup_id":23,"cup_name":"意甲","color":"#190000","contest_type":0,"home_team":8716,"home_scores":1,"away_team":791,"away_scores":0,"start_time":"Tue Dec 13 04:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":8716,"name":"罗马","logo":"2702.png"},"a_t":{"t_id":791,"name":"AC米兰","logo":"2692.png"},"settle_statu":0,"ext_flag":1,"room_id":5759,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4699,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"fe3/1481539807566_mhws0k.png","text":"欧冠1/8决赛抽签：拜仁阿森纳上演强强对话","subtitle":"","type":4,"link":"4328","sort":0,"create_time":"Mon Dec 12 18:50:36 +0800 2016","editor":"饶志远","public_time":"Mon Dec 12 18:50:32 +0800 2016","video_flag":true,"contest_flag":false},{"id":4698,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"31c/1481518603417_e63t9e.jpg","text":"波神26+12 尼克斯送湖人6连败","subtitle":"NBA","type":4,"link":"4330","sort":0,"create_time":"Mon Dec 12 12:56:58 +0800 2016","editor":"李超","public_time":"Mon Dec 12 12:56:49 +0800 2016","video_flag":false,"contest_flag":true,"contest_content":{"contest_id":19407,"topic_id":4330,"create_time":"Mon Dec 12 12:55:28 +0800 2016","editor":"李超","contest":{"contest_id":19407,"target_id":9955521,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":166,"home_scores":112,"away_team":185,"away_scores":118,"start_time":"Mon Dec 12 10:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":166,"name":"湖人","logo":"3427.png"},"a_t":{"t_id":185,"name":"尼克斯","logo":"3421.png"},"settle_statu":0,"ext_flag":0,"room_id":5757,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4697,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"c34/1481510833268_g0esxp.jpg","text":"汤神里程碑 勇士末节击溃森林狼\t","subtitle":"NBA","type":4,"link":"4327","sort":0,"create_time":"Mon Dec 12 10:47:18 +0800 2016","editor":"梁众","public_time":"Mon Dec 12 10:47:13 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19250,"topic_id":4327,"create_time":"Mon Dec 12 09:34:42 +0800 2016","editor":"梁众","contest":{"contest_id":19250,"target_id":9954153,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":172,"home_scores":108,"away_team":181,"away_scores":116,"start_time":"Mon Dec 12 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":172,"name":"森林狼","logo":"3426.png"},"a_t":{"t_id":181,"name":"勇士","logo":"3428.png"},"settle_statu":0,"ext_flag":0,"room_id":5753,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}}],"notice_num":0,"contest_ing_num":0}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * heads : [{"id":4716,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"5bd/1481847286389_ejaf71.jpg","text":"著名NBA场边记者克雷格-赛格离世 ","subtitle":"","type":4,"link":"4347","sort":0,"create_time":"Fri Dec 16 08:15:08 +0800 2016","editor":"梁众","public_time":"Fri Dec 16 08:15:06 +0800 2016","video_flag":false,"contest_flag":false},{"id":4715,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"6b2/1481812664422_tvet1x.jpg","text":"十佳劳伦斯：吴敏霞马龙分获最佳男女运动员","subtitle":"","type":4,"link":"4346","sort":0,"create_time":"Thu Dec 15 22:38:36 +0800 2016","editor":"饶志远","public_time":"Thu Dec 15 22:38:31 +0800 2016","video_flag":false,"contest_flag":false},{"id":4714,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"e11/1481800719781_ah6nys.jpg","text":"C罗本泽马破门 皇马2-0完胜进军决赛","subtitle":"世俱杯","type":4,"link":"4345","sort":0,"create_time":"Thu Dec 15 18:15:04 +0800 2016","editor":"饶志远","public_time":"Thu Dec 15 18:14:51 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":232272,"topic_id":4345,"create_time":"Thu Dec 15 18:11:50 +0800 2016","editor":"饶志远","contest":{"contest_id":232272,"target_id":10723766,"cup_id":357,"cup_name":"世俱杯","color":"#1E0F00","contest_type":0,"home_team":231,"home_scores":0,"away_team":839,"away_scores":2,"start_time":"Thu Dec 15 18:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":4,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":231,"name":"墨西哥美洲","logo":"1939.png"},"a_t":{"t_id":839,"name":"皇家马德里","logo":"2829.png"},"settle_statu":0,"ext_flag":1,"room_id":5806,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4713,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"d7d/1481771893717_npqaih.jpg","text":"哈登三双追平大梦 火箭大胜国王取8连胜","subtitle":"NBA","type":4,"link":"4344","sort":0,"create_time":"Thu Dec 15 11:18:45 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 11:18:36 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19350,"topic_id":4344,"create_time":"Thu Dec 15 10:20:36 +0800 2016","editor":"梁众","contest":{"contest_id":19350,"target_id":9954985,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":177,"home_scores":132,"away_team":161,"away_scores":98,"start_time":"Thu Dec 15 09:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"a_t":{"t_id":161,"name":"国王","logo":"3413.png"},"settle_statu":0,"ext_flag":0,"room_id":5800,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4712,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"cf3/1481770586090_50dvnu.jpg","text":"太子爷爆发戈登新高 快船擒魔术3连胜","subtitle":"NBA","type":4,"link":"4343","sort":0,"create_time":"Thu Dec 15 10:56:33 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 10:55:56 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19280,"topic_id":4343,"create_time":"Thu Dec 15 10:17:49 +0800 2016","editor":"梁众","contest":{"contest_id":19280,"target_id":9954393,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":173,"home_scores":108,"away_team":180,"away_scores":113,"start_time":"Thu Dec 15 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":173,"name":"魔术","logo":"3437.png"},"a_t":{"t_id":180,"name":"快船","logo":"3425.png"},"settle_statu":0,"ext_flag":0,"room_id":5808,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4711,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"d0c/1481761007143_px5i18.jpg","text":"萨巴莱塔破门席尔瓦建功 曼城2-0沃特福德","subtitle":"英超","type":4,"link":"4342 ","sort":0,"create_time":"Thu Dec 15 08:17:12 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 08:17:10 +0800 2016","video_flag":true,"contest_flag":true},{"id":4710,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"f48/1481760987801_64v5h5.jpg","text":"伊布绝杀博格巴传射 曼联2-1水晶宫 ","subtitle":"英超","type":4,"link":"4341","sort":0,"create_time":"Thu Dec 15 08:16:37 +0800 2016","editor":"梁众","public_time":"Thu Dec 15 08:16:32 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":169670,"topic_id":4341,"create_time":"Thu Dec 15 08:06:01 +0800 2016","editor":"梁众","contest":{"contest_id":169670,"target_id":9600049,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":513,"home_scores":1,"away_team":500,"away_scores":2,"start_time":"Thu Dec 15 04:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":513,"name":"水晶宫","logo":"7.png"},"a_t":{"t_id":500,"name":"曼联","logo":"35.png"},"settle_statu":0,"ext_flag":1,"room_id":5782,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4709,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"a9f/1481721466890_29bxie.jpg","text":"阿联21+11 广东轻取同曦豪取12连胜","subtitle":"CBA","type":4,"link":"4340","sort":0,"create_time":"Wed Dec 14 21:17:59 +0800 2016","editor":"饶志远","public_time":"Wed Dec 14 21:17:55 +0800 2016","video_flag":false,"contest_flag":true,"contest_content":{"contest_id":31322,"topic_id":4340,"create_time":"Wed Dec 14 21:17:30 +0800 2016","editor":"饶志远","contest":{"contest_id":31322,"target_id":10483210,"cup_id":1566,"cup_name":"CBA","color":"#234711","contest_type":1,"home_team":3003,"home_scores":97,"away_team":601,"away_scores":116,"start_time":"Wed Dec 14 19:35:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":true,"h_t":{"t_id":3003,"name":"江苏同曦","logo":"181740.png"},"a_t":{"t_id":601,"name":"广东宏远","logo":"130098.png"},"settle_statu":0,"ext_flag":0,"room_id":5774,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4708,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"ad6/1481721535200_ddtafn.jpg","text":"老马21分丢救命球 北京主场憾负上海","subtitle":"CBA","type":4,"link":"4339","sort":0,"create_time":"Wed Dec 14 19:35:44 +0800 2016","editor":"饶志远","public_time":"Wed Dec 14 19:35:39 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":31022,"topic_id":4339,"create_time":"Wed Dec 14 21:19:47 +0800 2016","editor":"饶志远","contest":{"contest_id":31022,"target_id":10482514,"cup_id":1566,"cup_name":"CBA","color":"#234711","contest_type":1,"home_team":3007,"home_scores":94,"away_team":3006,"away_scores":99,"start_time":"Wed Dec 14 19:35:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":true,"h_t":{"t_id":3007,"name":"北京金隅","logo":"130124.png"},"a_t":{"t_id":3006,"name":"上海哔哩哔哩","logo":"130122.png"},"settle_statu":0,"ext_flag":0,"room_id":5786,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4707,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"61a/1481686999075_4bci51.jpg","text":"格林三双 库里30分 勇士险胜鹈鹕","subtitle":"NBA","type":4,"link":"4338","sort":0,"create_time":"Wed Dec 14 11:43:45 +0800 2016","editor":"梁众","public_time":"Wed Dec 14 11:43:42 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19466,"topic_id":4338,"create_time":"Wed Dec 14 09:47:02 +0800 2016","editor":"梁众","contest":{"contest_id":19466,"target_id":9955999,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":140,"home_scores":109,"away_team":181,"away_scores":113,"start_time":"Wed Dec 14 09:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":140,"name":"鹈鹕","logo":"5539.png"},"a_t":{"t_id":181,"name":"勇士","logo":"3428.png"},"settle_statu":0,"ext_flag":0,"room_id":5790,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4706,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"326/1481682691463_k1amek.jpg","text":"詹皇23+8 骑士轻取灰熊豪取5连胜","subtitle":"NBA","type":4,"link":"4337","sort":0,"create_time":"Wed Dec 14 10:31:39 +0800 2016","editor":"梁众","public_time":"Wed Dec 14 10:30:59 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19298,"topic_id":4337,"create_time":"Wed Dec 14 09:45:15 +0800 2016","editor":"梁众","contest":{"contest_id":19298,"target_id":9954545,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":158,"home_scores":103,"away_team":184,"away_scores":86,"start_time":"Wed Dec 14 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":158,"name":"骑士","logo":"3432.png"},"a_t":{"t_id":184,"name":"灰熊","logo":"3415.png"},"settle_statu":0,"ext_flag":0,"room_id":5791,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4705,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"14a/1481675139764_9s2ipb.jpg","text":"厄齐尔低迷 阿森纳1-2遭逆转 ","subtitle":"英超","type":4,"link":"4336","sort":0,"create_time":"Wed Dec 14 08:26:15 +0800 2016","editor":"梁众","public_time":"Wed Dec 14 08:26:14 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":169665,"topic_id":4336,"create_time":"Wed Dec 14 08:10:10 +0800 2016","editor":"梁众","contest":{"contest_id":169665,"target_id":9600053,"cup_id":17,"cup_name":"英超","color":"#118E7C","contest_type":0,"home_team":503,"home_scores":2,"away_team":506,"away_scores":1,"start_time":"Wed Dec 14 03:45:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":503,"name":"埃弗顿","logo":"48.png"},"a_t":{"t_id":506,"name":"阿森纳","logo":"42.png"},"settle_statu":0,"ext_flag":1,"room_id":5761,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4703,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"cf1/1481609874105_yer5y7.jpg","text":"亚冠小组赛抽签：恒大遇水原 苏宁碰全北","subtitle":"亚冠","type":4,"link":"4334","sort":0,"create_time":"Tue Dec 13 14:18:01 +0800 2016","editor":"饶志远","public_time":"Tue Dec 13 16:00:57 +0800 2016","video_flag":false,"contest_flag":false},{"id":4704,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"42b/1481611258520_zv77mv.jpg","text":"快船横扫开拓者 保罗21+14","subtitle":"NBA","type":4,"link":"4335","sort":0,"create_time":"Tue Dec 13 14:35:14 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 14:35:12 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19474,"topic_id":4335,"create_time":"Tue Dec 13 14:28:39 +0800 2016","editor":"梁众","contest":{"contest_id":19474,"target_id":9956131,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":180,"home_scores":121,"away_team":179,"away_scores":120,"start_time":"Tue Dec 13 11:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":180,"name":"快船","logo":"3425.png"},"a_t":{"t_id":179,"name":"开拓者","logo":"3414.png"},"settle_statu":0,"ext_flag":0,"room_id":5772,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4702,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"fef/1481600704101_ynmrib.png","text":"哈登准三双 书豪10+7 火箭险胜篮网","subtitle":"NBA","type":4,"link":"4333","sort":0,"create_time":"Tue Dec 13 11:45:09 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 11:45:07 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19343,"topic_id":4333,"create_time":"Tue Dec 13 09:47:32 +0800 2016","editor":"梁众","contest":{"contest_id":19343,"target_id":9954987,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":177,"home_scores":122,"away_team":175,"away_scores":118,"start_time":"Tue Dec 13 09:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":3,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"a_t":{"t_id":175,"name":"篮网","logo":"3436.png"},"settle_statu":0,"ext_flag":0,"room_id":5766,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4701,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"3a3/1481588650460_jkt2n0.jpg","text":"C罗力压梅西荣膺2016年金球奖","subtitle":"金球奖","type":4,"link":"4329","sort":0,"create_time":"Tue Dec 13 08:24:48 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 08:24:46 +0800 2016","video_flag":true,"contest_flag":true},{"id":4700,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"34d/1481588621246_pq01ma.jpg","text":"尼昂失点纳因格兰破门 罗马1-0米兰 ","subtitle":"意甲","type":4,"link":"4332","sort":0,"create_time":"Tue Dec 13 08:23:56 +0800 2016","editor":"梁众","public_time":"Tue Dec 13 08:23:54 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":193724,"topic_id":4332,"create_time":"Tue Dec 13 08:20:03 +0800 2016","editor":"梁众","contest":{"contest_id":193724,"target_id":9821229,"cup_id":23,"cup_name":"意甲","color":"#190000","contest_type":0,"home_team":8716,"home_scores":1,"away_team":791,"away_scores":0,"start_time":"Tue Dec 13 04:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":2,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":8716,"name":"罗马","logo":"2702.png"},"a_t":{"t_id":791,"name":"AC米兰","logo":"2692.png"},"settle_statu":0,"ext_flag":1,"room_id":5759,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}},{"id":4699,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"fe3/1481539807566_mhws0k.png","text":"欧冠1/8决赛抽签：拜仁阿森纳上演强强对话","subtitle":"","type":4,"link":"4328","sort":0,"create_time":"Mon Dec 12 18:50:36 +0800 2016","editor":"饶志远","public_time":"Mon Dec 12 18:50:32 +0800 2016","video_flag":true,"contest_flag":false},{"id":4698,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"31c/1481518603417_e63t9e.jpg","text":"波神26+12 尼克斯送湖人6连败","subtitle":"NBA","type":4,"link":"4330","sort":0,"create_time":"Mon Dec 12 12:56:58 +0800 2016","editor":"李超","public_time":"Mon Dec 12 12:56:49 +0800 2016","video_flag":false,"contest_flag":true,"contest_content":{"contest_id":19407,"topic_id":4330,"create_time":"Mon Dec 12 12:55:28 +0800 2016","editor":"李超","contest":{"contest_id":19407,"target_id":9955521,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":166,"home_scores":112,"away_team":185,"away_scores":118,"start_time":"Mon Dec 12 10:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":0,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":166,"name":"湖人","logo":"3427.png"},"a_t":{"t_id":185,"name":"尼克斯","logo":"3421.png"},"settle_statu":0,"ext_flag":0,"room_id":5757,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}},{"id":4697,"channel_id":0,"channel_name":"推荐","image_type":2,"image":"c34/1481510833268_g0esxp.jpg","text":"汤神里程碑 勇士末节击溃森林狼\t","subtitle":"NBA","type":4,"link":"4327","sort":0,"create_time":"Mon Dec 12 10:47:18 +0800 2016","editor":"梁众","public_time":"Mon Dec 12 10:47:13 +0800 2016","video_flag":true,"contest_flag":true,"contest_content":{"contest_id":19250,"topic_id":4327,"create_time":"Mon Dec 12 09:34:42 +0800 2016","editor":"梁众","contest":{"contest_id":19250,"target_id":9954153,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":172,"home_scores":108,"away_team":181,"away_scores":116,"start_time":"Mon Dec 12 08:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":172,"name":"森林狼","logo":"3426.png"},"a_t":{"t_id":181,"name":"勇士","logo":"3428.png"},"settle_statu":0,"ext_flag":0,"room_id":5753,"init_count":0},"contest_type":1,"type":0,"link":"","select_flag":false}}]
         * notice_num : 0
         * contest_ing_num : 0
         */

        private int notice_num;
        private int contest_ing_num;
        private List<HeadsBean> heads;
        @Expose(serialize = false, deserialize = false)
        private HeadlineHeadlineRecyclerAdapter adapter;

        public HeadlineHeadlineRecyclerAdapter getAdapter() {
            adapter = new HeadlineHeadlineRecyclerAdapter(heads);
            return adapter;
        }

        public int getNotice_num() {
            return notice_num;
        }

        public void setNotice_num(int notice_num) {
            this.notice_num = notice_num;
        }


        public int getContest_ing_num() {
            return contest_ing_num;
        }

        public void setContest_ing_num(int contest_ing_num) {
            this.contest_ing_num = contest_ing_num;
        }

        public List<HeadsBean> getHeads() {
            return heads;
        }

        public void setHeads(List<HeadsBean> heads) {
            this.heads = heads;
        }

        public static class HeadsBean {
            /**
             * id : 4716
             * channel_id : 0
             * channel_name : 推荐
             * image_type : 2
             * image : 5bd/1481847286389_ejaf71.jpg
             * text : 著名NBA场边记者克雷格-赛格离世
             * subtitle :
             * type : 4
             * link : 4347
             * sort : 0
             * create_time : Fri Dec 16 08:15:08 +0800 2016
             * editor : 梁众
             * public_time : Fri Dec 16 08:15:06 +0800 2016
             * video_flag : false
             * contest_flag : false
             * contest_content : {"contest_id":232272,"topic_id":4345,"create_time":"Thu Dec 15 18:11:50 +0800 2016","editor":"饶志远","contest":{"contest_id":232272,"target_id":10723766,"cup_id":357,"cup_name":"世俱杯","color":"#1E0F00","contest_type":0,"home_team":231,"home_scores":0,"away_team":839,"away_scores":2,"start_time":"Thu Dec 15 18:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":4,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":231,"name":"墨西哥美洲","logo":"1939.png"},"a_t":{"t_id":839,"name":"皇家马德里","logo":"2829.png"},"settle_statu":0,"ext_flag":1,"room_id":5806,"init_count":0},"contest_type":0,"type":0,"link":"","select_flag":false}
             */

            private int id;
            private int channel_id;
            private String channel_name;
            private int image_type;
            private String image;
            private String text;
            private String subtitle;
            private int type;
            private String link;
            private int sort;
            private String create_time;
            private String editor;
            private String public_time;
            private boolean video_flag;
            private boolean contest_flag;
            @Expose(serialize = false, deserialize = false)
            private int isSubtitleNull;
            @Expose(serialize = false, deserialize = false)
            private int isContest_contestNull;

            private ContestContentBean contest_content;

            public int getIsSubtitleNull() {
                if ("".equals(subtitle)) {
                    return 0x00000008;
                } else {

                    return 0x00000000;
                }
            }

            public int getIsContest_contestNull() {
                if (contest_content == null) {

                    return 0x00000008;

                } else {
                    return 0x00000000;
                }

            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getChannel_id() {
                return channel_id;
            }

            public void setChannel_id(int channel_id) {
                this.channel_id = channel_id;
            }

            public String getChannel_name() {
                return channel_name;
            }

            public void setChannel_name(String channel_name) {
                this.channel_name = channel_name;
            }

            public int getImage_type() {
                return image_type;
            }

            public void setImage_type(int image_type) {
                this.image_type = image_type;
            }

            public String getImage() {

                return "http://lifeixphoto.qiniudn.com/" + image + "?imageView2/1/w/864/h/555/format/jpg";
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getEditor() {
                return editor;
            }

            public void setEditor(String editor) {
                this.editor = editor;
            }

            public String getPublic_time() {
                Date date = null;
                try {
                    date = new SimpleDateFormat("EEE MMM dd HH:mm:ss ZZZZ yyyy", Locale.ENGLISH).parse(public_time.replace("+", "-").replace("8", "5"));
                } catch (ParseException e) {
                    e.printStackTrace();
                }
                SimpleDateFormat dateFormat = new SimpleDateFormat("MM月dd日 E", Locale.CHINA);
                return dateFormat.format(date);
            }

            public void setPublic_time(String public_time) {
                this.public_time = public_time;
            }

            public int getVideo_flag() {

                return video_flag ? 0x00000000 : 0x00000008;
            }

            public void setVideo_flag(boolean video_flag) {
                this.video_flag = video_flag;
            }

            public boolean getContest_flag() {
                return contest_flag;
            }

            public void setContest_flag(boolean contest_flag) {
                this.contest_flag = contest_flag;
            }

            public ContestContentBean getContest_content() {
                return contest_content;
            }

            public void setContest_content(ContestContentBean contest_content) {
                this.contest_content = contest_content;
            }

            public static class ContestContentBean {
                /**
                 * contest_id : 232272
                 * topic_id : 4345
                 * create_time : Thu Dec 15 18:11:50 +0800 2016
                 * editor : 饶志远
                 * contest : {"contest_id":232272,"target_id":10723766,"cup_id":357,"cup_name":"世俱杯","color":"#1E0F00","contest_type":0,"home_team":231,"home_scores":0,"away_team":839,"away_scores":2,"start_time":"Thu Dec 15 18:30:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":4,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":231,"name":"墨西哥美洲","logo":"1939.png"},"a_t":{"t_id":839,"name":"皇家马德里","logo":"2829.png"},"settle_statu":0,"ext_flag":1,"room_id":5806,"init_count":0}
                 * contest_type : 0
                 * type : 0
                 * link :
                 * select_flag : false
                 */

                private int contest_id;
                private int topic_id;
                private String create_time;
                private String editor;
                private ContestBean contest;
                private int contest_type;
                private int type;
                private String link;
                private boolean select_flag;

                public int getContest_id() {
                    return contest_id;
                }

                public void setContest_id(int contest_id) {
                    this.contest_id = contest_id;
                }

                public int getTopic_id() {
                    return topic_id;
                }

                public void setTopic_id(int topic_id) {
                    this.topic_id = topic_id;
                }

                public String getCreate_time() {
                    return create_time;
                }

                public void setCreate_time(String create_time) {
                    this.create_time = create_time;
                }

                public String getEditor() {
                    return editor;
                }

                public void setEditor(String editor) {
                    this.editor = editor;
                }

                public ContestBean getContest() {
                    return contest;
                }

                public void setContest(ContestBean contest) {
                    this.contest = contest;
                }

                public int getContest_type() {
                    return contest_type;
                }

                public void setContest_type(int contest_type) {
                    this.contest_type = contest_type;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getLink() {
                    return link;
                }

                public void setLink(String link) {
                    this.link = link;
                }

                public boolean isSelect_flag() {
                    return select_flag;
                }

                public void setSelect_flag(boolean select_flag) {
                    this.select_flag = select_flag;
                }

                public static class ContestBean {
                    /**
                     * contest_id : 232272
                     * target_id : 10723766
                     * cup_id : 357
                     * cup_name : 世俱杯
                     * color : #1E0F00
                     * contest_type : 0
                     * home_team : 231
                     * home_scores : 0
                     * away_team : 839
                     * away_scores : 2
                     * start_time : Thu Dec 15 18:30:00 +0800 2016
                     * status : -1
                     * settle : 27
                     * odds_type : 27
                     * level : 1
                     * bet_count : 4
                     * lock_flag : false
                     * belong_five : true
                     * longbi : false
                     * h_t : {"t_id":231,"name":"墨西哥美洲","logo":"1939.png"}
                     * a_t : {"t_id":839,"name":"皇家马德里","logo":"2829.png"}
                     * settle_statu : 0
                     * ext_flag : 1
                     * room_id : 5806
                     * init_count : 0
                     */

                    private int contest_id;
                    private int target_id;
                    private int cup_id;
                    private String cup_name;
                    private String color;
                    private int contest_type;
                    private int home_team;
                    private int home_scores;
                    private int away_team;
                    private int away_scores;
                    private String start_time;
                    private int status;
                    private int settle;
                    private int odds_type;
                    private int level;
                    private int bet_count;
                    private boolean lock_flag;
                    private boolean belong_five;
                    private boolean longbi;
                    private HTBean h_t;
                    private ATBean a_t;
                    private int settle_statu;
                    private int ext_flag;
                    private int room_id;
                    private int init_count;

                    public int getContest_id() {
                        return contest_id;
                    }

                    public void setContest_id(int contest_id) {
                        this.contest_id = contest_id;
                    }

                    public int getTarget_id() {
                        return target_id;
                    }

                    public void setTarget_id(int target_id) {
                        this.target_id = target_id;
                    }

                    public int getCup_id() {
                        return cup_id;
                    }

                    public void setCup_id(int cup_id) {
                        this.cup_id = cup_id;
                    }

                    public String getCup_name() {
                        return cup_name;
                    }

                    public void setCup_name(String cup_name) {
                        this.cup_name = cup_name;
                    }

                    public String getColor() {
                        return color;
                    }

                    public void setColor(String color) {
                        this.color = color;
                    }

                    public int getContest_type() {
                        return contest_type;
                    }

                    public void setContest_type(int contest_type) {
                        this.contest_type = contest_type;
                    }

                    public int getHome_team() {
                        return home_team;
                    }

                    public void setHome_team(int home_team) {
                        this.home_team = home_team;
                    }

                    public String getHome_scores() {
                        return String.valueOf(home_scores);
                    }

                    public void setHome_scores(int home_scores) {
                        this.home_scores = home_scores;
                    }

                    public int getAway_team() {
                        return away_team;
                    }

                    public void setAway_team(int away_team) {
                        this.away_team = away_team;
                    }

                    public String getAway_scores() {
                        return String.valueOf(away_scores);
                    }

                    public void setAway_scores(int away_scores) {
                        this.away_scores = away_scores;
                    }

                    public String getStart_time() {
                        return start_time;
                    }

                    public void setStart_time(String start_time) {
                        this.start_time = start_time;
                    }

                    public int getStatus() {
                        return status;
                    }

                    public void setStatus(int status) {
                        this.status = status;
                    }

                    public int getSettle() {
                        return settle;
                    }

                    public void setSettle(int settle) {
                        this.settle = settle;
                    }

                    public int getOdds_type() {
                        return odds_type;
                    }

                    public void setOdds_type(int odds_type) {
                        this.odds_type = odds_type;
                    }

                    public int getLevel() {
                        return level;
                    }

                    public void setLevel(int level) {
                        this.level = level;
                    }

                    public int getBet_count() {
                        return bet_count;
                    }

                    public void setBet_count(int bet_count) {
                        this.bet_count = bet_count;
                    }

                    public boolean isLock_flag() {
                        return lock_flag;
                    }

                    public void setLock_flag(boolean lock_flag) {
                        this.lock_flag = lock_flag;
                    }

                    public boolean isBelong_five() {
                        return belong_five;
                    }

                    public void setBelong_five(boolean belong_five) {
                        this.belong_five = belong_five;
                    }

                    public boolean isLongbi() {
                        return longbi;
                    }

                    public void setLongbi(boolean longbi) {
                        this.longbi = longbi;
                    }

                    public HTBean getH_t() {
                        return h_t;
                    }

                    public void setH_t(HTBean h_t) {
                        this.h_t = h_t;
                    }

                    public ATBean getA_t() {
                        return a_t;
                    }

                    public void setA_t(ATBean a_t) {
                        this.a_t = a_t;
                    }

                    public int getSettle_statu() {
                        return settle_statu;
                    }

                    public void setSettle_statu(int settle_statu) {
                        this.settle_statu = settle_statu;
                    }

                    public int getExt_flag() {
                        return ext_flag;
                    }

                    public void setExt_flag(int ext_flag) {
                        this.ext_flag = ext_flag;
                    }

                    public int getRoom_id() {
                        return room_id;
                    }

                    public void setRoom_id(int room_id) {
                        this.room_id = room_id;
                    }

                    public int getInit_count() {
                        return init_count;
                    }

                    public void setInit_count(int init_count) {
                        this.init_count = init_count;
                    }

                    public static class HTBean {
                        /**
                         * t_id : 231
                         * name : 墨西哥美洲
                         * logo : 1939.png
                         */

                        private int t_id;
                        private String name;
                        private String logo;

                        public int getT_id() {
                            return t_id;
                        }

                        public void setT_id(int t_id) {
                            this.t_id = t_id;
                        }

                        public String getName() {
                            return name;
                        }

                        public void setName(String name) {
                            this.name = name;
                        }

                        public String getLogo() {
                            return "http://roi.skst.cn/logo/" + logo;
                        }

                        public void setLogo(String logo) {
                            this.logo = logo;
                        }
                    }

                    public static class ATBean {
                        /**
                         * t_id : 839
                         * name : 皇家马德里
                         * logo : 2829.png
                         */

                        private int t_id;
                        private String name;
                        private String logo;

                        public int getT_id() {
                            return t_id;
                        }

                        public void setT_id(int t_id) {
                            this.t_id = t_id;
                        }

                        public String getName() {
                            return name;
                        }

                        public void setName(String name) {
                            this.name = name;
                        }

                        public String getLogo() {
                            return "http://roi.skst.cn/logo/" + logo;
                        }

                        public void setLogo(String logo) {
                            this.logo = logo;
                        }
                    }
                }
            }
        }
    }
}
